package com.mes.biz.domain;

import com.mes.common.core.domain.BaseEntity;
import com.mes.common.utils.log.annotation.FieldRemark;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 客户应收账款明细对象 biz_customer_payable_detail
 * @author hwg
 * @email hwg
 * @date 2023-04-30
 */
@Data
public class BizCustomerPayableDetail extends BaseEntity<BizCustomerPayableDetail>
{
    private static final long serialVersionUID = 1L;


    @FieldRemark(name = "客户ID",field = "customerId")
    private String customerId;

    @FieldRemark(name = "客户名称",field = "customerName")
    private String customerName;

    @FieldRemark(name = "总金额",field = "totalAmount")
    private BigDecimal totalAmount;

    @FieldRemark(name = "本次结算",field = "payAmount")
    private BigDecimal payAmount;

    @FieldRemark(name = "订单编号",field = "orderNumber")
    private String orderNumber;

    @FieldRemark(name = "对账单编号",field = "accountCode")
    private String accountCode;

    @FieldRemark(name = "租户id",field = "status")
    private String tenantId;

    @FieldRemark(name = "销售单产品id",field = "orderProductId")
    private String orderProductId;

    @FieldRemark(name = "类型 0-销售单 1-收支单 2-售后单",field = "type")
    private String type;

    @FieldRemark(name = "售后单id",field = "ater_sale_order_id")
    private String afterSaleOrderId;

    private String orderDate;

    private BigDecimal saleAmount;

    private BigDecimal collectedAmount;

    private BigDecimal amount;

    private String brand;
    private String area;
    private String spec;
    private String color;
    private String model;
    private String productCode;
    private BigDecimal number;
    private BigDecimal price;
    private String newRemark;
    private String unit;
    private String newAddress;
    private String newPhone;
    private String orderStatus;
    private String accountStatus;
    private String[] status;
    private int sort;
    private String address;
    private String detailRemark;
    private String startDate;
    private String endDate;
}
